<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8" />
		<title>注册验证</title>
	</head>
	<body background="body.png" style="background-repeat: repeat-x;">
		<img src="bg_chs.png" />
		<form method="post" action="">
		<table align="center">
			<tr>
				<td colspan="2"><h2>注册账号</h2></td>
			</tr>
			<tr height="40">
				<td align="right" ><label for="username">昵称</label> </td>
				<td><input type="text" maxlength="10" required pattern="[-\w\u4E00-\u9FA5]{4,10}" id="username" /> 长度为4-10个字符</td>	
			</tr>
			<tr height="40">
				<td align="right"><label for="psd">密码</label></td>
				<td><input type="password" required pattern="[\dA-Za-z]{6,16}"  maxlength="16" id="psd"  />长度为6-16个字符 </td>	
			</tr>
			<tr>
				<td align="right"><label for="rpsd">确认密码</label> </td>
				<td><input type="password"  required pattern="[\dA-Za-z]{6,16}"  maxlength="16" id="rpsd" />长度为6-16个字符</td>	
			</tr>
			<tr height="40">
				<td align="right"><label for="tel">手机号码</label> </td>
				<td><input type="text"  required pattern="1[3578]\d{9}" id="tel"/>密码长度为11位，以13|5|7|8开头 </td>	
			</tr>
			<tr>
				<td align="right"><label for="msn">邮箱</label> </td>
				<td><input type="text" required id="msn"/> </td>	
			</tr>
			<tr height="40">
				<td align="right"><label for="age">年龄</label> </td>
				<td><input type="text" reguired pattern="\d|[1-9]\d|1[[0-2]\d" id="age" /> </td>	
			</tr>
			<tr height="40">
				<td colspan="2"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input type="image" src="btn.bmp" width="160"/></td>
			</tr>
		</table>
		</form>
	</body>
</html>
